package com.jili.factory;

import lombok.NonNull;

/**
 * ClassName: FactoryBean
 * Package com.jili.factory
 * Description:
 *
 * @Author: 廖继礼
 * @Create: 2025/2/16
 * @Version: v1.0
 */
public interface FactoryBean<T> {

    String OBJECT_TYPE_ATTRIBUTE = "factoryBeanObjectType";

    @NonNull
    T getObject();

    @NonNull
    Class<?> getObjectType();

    default boolean isSingleton(){
        return true;
    }





}
